﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace FoobarFootball.Models.MatchStates
{
    /// <summary>
    /// The final whistle has blown and the match is over. Clean up and results
    /// logic goes here.
    /// </summary>
    public class FinalWhistle : MatchState
    {
        private static MatchState state = new FinalWhistle();

        private FinalWhistle()
        {
        }

        public static MatchState Instance()
        {
            return state;
        }

        public override void Turn(MatchEngine matchEngine)
        {
            matchEngine.Commentry.Add("And there is the final whistle");
        }
    }
}
